package cn.study.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 商品表
 * </p>
 *
 * @author qiao
 * @since 2020-06-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="StudyCommodity对象", description="商品表")
public class StudyCommodity implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer commodityIntegral;

    private Integer commodityCont;

    @TableLogic
    private Integer deleted;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    private Integer commodityCreateEmpId;

    @TableField(fill = FieldFill.UPDATE)
    private Date modifiedTime;

    private Integer commodityModifiedEmpId;

    private String commodityName;

    private String commodityImage;

    @TableField(exist = false)
    private String a1;
    @TableField(exist = false)
    private String b1;
}
